//
//  ByApiRecord.h
//  recordworktool_ios
//
//  Created by mc on 2017/12/28.
//  Copyright © 2017年 ZhangZhanbin. All rights reserved.
//

#import "ByNetBaseApi.h"

@interface ByApiRecord : ByNetBaseApi


//记录点工项目
+ (void)recordLogWorkShift:(ByNetModel *)model
                   success:(void(^)(ByNetBaseResult *result))success
                   failure:(void(^)(ByNetBaseResult *result))failure;

//记录包工项目
+ (void)recordLogSubWork:(ByNetModel *)model
                 success:(void(^)(ByNetBaseResult *result))success
                 failure:(void(^)(ByNetBaseResult *result))failure;


//借出、结算记录添加
+ (void)recordLogMoney:(ByNetModel *)model
               success:(void(^)(ByNetBaseResult *result))success
               failure:(void(^)(ByNetBaseResult *result))failure;



//工头端-审核记录查询接口
+ (void)queryAuditRecordForOverseer:(ByNetModel *)model
                            success:(void(^)(ByNetBaseResult *result))success
                            failure:(void(^)(ByNetBaseResult *result))failure;

//工人端-审核记录查询接口
+ (void)queryAuditRecordForWorker:(ByNetModel *)model
                          success:(void(^)(ByNetBaseResult *result))success
                          failure:(void(^)(ByNetBaseResult *result))failure;

//记录审核接口
+ (void)audit:(ByNetModel *)model
      success:(void(^)(ByNetBaseResult *result))success
      failure:(void(^)(ByNetBaseResult *result))failure;


//工人财务统计查询接口
+ (void)financeBillWorker:(ByNetModel *)model
                  success:(void(^)(ByNetBaseResult *result))success
                  failure:(void(^)(ByNetBaseResult *result))failure;


//工头财务统计查询接口
+ (void)financeBillOverseer:(ByNetModel *)model
                    success:(void(^)(ByNetBaseResult *result))success
                    failure:(void(^)(ByNetBaseResult *result))failure;


//工人记工、工资清单查询接口
+ (void)queryWorker:(ByNetModel *)model
            success:(void(^)(ByNetBaseResult *result))success
            failure:(void(^)(ByNetBaseResult *result))failure;


//工头记工、工资查询接口
+ (void)queryOverseer:(ByNetModel *)model
              success:(void(^)(ByNetBaseResult *result))success
              failure:(void(^)(ByNetBaseResult *result))failure;


//记录查询接口
+ (void)info:(ByNetModel *)model
     success:(void(^)(ByNetBaseResult *result))success
     failure:(void(^)(ByNetBaseResult *result))failure;


//记录更新接口
+ (void)update:(ByNetModel *)model
       success:(void(^)(ByNetBaseResult *result))success
       failure:(void(^)(ByNetBaseResult *result))failure;


//记录添加接口
+ (void)add:(ByNetModel *)model
    success:(void(^)(ByNetBaseResult *result))success
    failure:(void(^)(ByNetBaseResult *result))failure;




@end
